@extends('layout.adminindex')

@section('con')
<div class="mws-panel grid_8">
	<div class="mws-panel-header">
    	<span>修改用户列表</span>
    </div>
    <div class="mws-panel-body no-padding">
    	<form class="mws-form" method='post' action="/admin/user/update" >
    			{{csrf_field()}}
    		<div class="mws-form-inline">
    			<div class="mws-form-row">
    				<label class="mws-form-label">用户帐号</label>
    				<div class="mws-form-item">
    					<input class="small" type="text" name='username' value='{{$vo['username']}}'>
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label" >电话</label>
    				<div class="mws-form-item">
    					<input class="small" type="text" name='phone' value='{{$vo['phone']}}'>
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">邮箱</label>
    			<div class="mws-form-item">
    					<input class="small" type="text" name='email' value='{{$vo['email']}}'>
    				</div>
    			</div>
    		</div>
            <!--隐藏id-->
            <input type="hidden" name='id' value='{{$vo['id']}}'>
    		<div class="mws-button-row">
    			<input value="修改" class="btn btn-danger" type="submit">
    			<input value="重置" class="btn " type="reset">
    		</div>
    	</form>
    </div>    	
</div>
@endsection